POV-Ray : Newsgroups : povray.programming : How to Build a GUI Extension to POV-Ray for Windows. : Re: How to Build a GUI Extension to POV-Ray for Windows. Server Time
28 Jul 2024 14:22:37 EDT (-0400)
  Re: How to Build a GUI Extension to POV-Ray for Windows.  
From: Andrew Wilcox
Date: 8 Aug 2002 18:40:35
Message: <3d52f363$1@news.povray.org>
Could someone in the know explain the concept of
  DisplayPlot;
  DisplayPlotRect
  WinPrePixel;
  WinPostPixel;
  WinAssignPixel;

I can log these events out to a file, so I see the order in which they are
called for each pixel as it is rendered.  I looked (briefly) at the windows
source code, but it wasn't obvious to me, how these are useful to a GUIEXT.
Do these allow me to somehow change the final colour that is assigned to an
individual pixel, or make a modification to the colour POV has calculated?
Could someone give me an example of why a GUIEXT would catch these events.

I understand WinSystem, BufferMessage, and DragFunction.   I'll probably ask
about ParseToolCommand later, since I don't forsee any need to mess with the
parser for my work.

And I want to again say thanks for the help Chris and Ron it is very very
much appreciated.

--
#macro Q(A,E,W)box{-A/2,A/2pigment{rgb 9*W}translate E*A+W/1000}#end#macro
M(D,E)#local A=1/pow(3,D);#if(D<3)#local C=D+1;union{M(C,1)M(C,x+y)M(C,x+z)
M(C,y+z)M(C,x+y-z)M(C,x+z-y)M(C,y+z-x)M(C,x-y)M(C,z-x)M(C,y-z)M(C,y-x)M(C,
x-z)M(C,z-y)M(C,x-y-z)M(C,y-x-z)M(C,z-x-y)translate A*E}#else Q(A,E,x)Q(A,E
,y)Q(A,E,z)#end#end union{M(0,0)rotate<45,145,0>translate z*2}//Andrew


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.